// Take out this line if you don't use symantec.itools.net.RelativeURL or symantec.itools.awt.util.StatusScroller
symantec.itools.lang.Context.setApplet(this);
// This code is automatically generated by Visual Cafe when you add
// components to the visual environment. It instantiates and initializes
// the components. To modify the code, only use code syntax that matches
// what Visual Cafe can generate, or Visual Cafe may be unable to back
// parse your Java file into its visual environment.
//{{INIT_CONTROLS
setLayout(new BorderLayout(0,0));
setBackground(java.awt.Color.magenta);
setFont(new Font("Dialog", Font.BOLD, 12));
setSize(709,371);
panel1.setLayout(new GridLayout(1,3,0,0));
add(panel1);
panel1.setBackground(java.awt.Color.darkGray);
panel1.setBounds(0,0,709,371);
panel2.setLayout(new GridBagLayout());
panel1.add(panel2);
panel2.setBounds(0,0,236,371);
panel9.setLayout(new GridBagLayout());
panel2.add(panel9, new com.symantec.itools.awt.GridBagConstraintsD(0,0,1,1,1.0,1.0,java.awt.GridBagConstraints.CENTER,java.awt.GridBagConstraints.BOTH,new Insets(5,5,5,5),0,0));
panel9.setBackground(java.awt.Color.magenta);
panel9.setBounds(5,5,226,361);
{
String[] tempString = new String[1];
tempString[0] = "root";
treeView1.setTreeStructure(tempString);
}
panel9.add(treeView1, new com.symantec.itools.awt.GridBagConstraintsD(0,0,1,1,1.0,1.0,java.awt.GridBagConstraints.CENTER,java.awt.GridBagConstraints.BOTH,new Insets(0,0,0,0),0,0));
panel10.add(panel3, new com.symantec.itools.awt.GridBagConstraintsD(0,0,1,1,1.0,1.0,java.awt.GridBagConstraints.CENTER,java.awt.GridBagConstraints.BOTH,new Insets(5,0,5,5),0,0));
panel3.setBackground(java.awt.Color.white);
panel3.setBounds(0,5,231,361);
label3.setText(" Insert a node with the following name");
panel3.add(label3, new com.symantec.itools.awt.GridBagConstraintsD(0,0,1,1,1.0,1.0,java.awt.GridBagConstraints.CENTER,java.awt.GridBagConstraints.NONE,new Insets(0,0,0,0),0,0));
panel3.add(textFieldInsert, new com.symantec.itools.awt.GridBagConstraintsD(0,1,1,1,1.0,1.0,java.awt.GridBagConstraints.CENTER,java.awt.GridBagConstraints.HORIZONTAL,new Insets(0,5,0,5),0,0));
panel3.add(panel6, new com.symantec.itools.awt.GridBagConstraintsD(0,2,1,1,1.0,1.0,java.awt.GridBagConstraints.CENTER,java.awt.GridBagConstraints.BOTH,new Insets(0,0,0,0),0,0));
panel6.setBounds(0,79,231,85);
label2.setText(" as the:");
panel6.add(label2, new com.symantec.itools.awt.GridBagConstraintsD(0,0,1,1,1.0,1.0,java.awt.GridBagConstraints.CENTER,java.awt.GridBagConstraints.NONE,new Insets(0,0,0,0),0,0));
panel6.add(radioButtonChild, new com.symantec.itools.awt.GridBagConstraintsD(1,0,1,1,1.0,1.0,java.awt.GridBagConstraints.WEST,java.awt.GridBagConstraints.NONE,new Insets(0,0,0,0),0,0));
panel6.add(radioButtonLast, new com.symantec.itools.awt.GridBagConstraintsD(1,2,1,1,1.0,1.0,java.awt.GridBagConstraints.WEST,java.awt.GridBagConstraints.NONE,new Insets(0,0,0,0),0,0));
panel6.add(radioButtonNext, new com.symantec.itools.awt.GridBagConstraintsD(1,1,1,1,1.0,1.0,java.awt.GridBagConstraints.WEST,java.awt.GridBagConstraints.NONE,new Insets(0,0,0,0),0,0));
label1.setText(" of the currently selected node");
panel3.add(label1, new com.symantec.itools.awt.GridBagConstraintsD(0,5,1,1,1.0,1.0,java.awt.GridBagConstraints.CENTER,java.awt.GridBagConstraints.NONE,new Insets(0,12,0,0),0,0));
panel3.add(label4, new com.symantec.itools.awt.GridBagConstraintsD(0,6,1,1,1.0,1.0,java.awt.GridBagConstraints.CENTER,java.awt.GridBagConstraints.NONE,new Insets(0,0,0,0),0,0));
panel3.add(panel5, new com.symantec.itools.awt.GridBagConstraintsD(0,7,1,1,1.0,1.0,java.awt.GridBagConstraints.CENTER,java.awt.GridBagConstraints.BOTH,new Insets(0,0,0,0),0,0));
panel5.setBounds(0,242,231,39);
buttonPrevious.setLabel("Prev.");
buttonPrevious.setEnabled(false);
panel5.add(buttonPrevious, new com.symantec.itools.awt.GridBagConstraintsD(0,0,1,1,1.0,1.0,java.awt.GridBagConstraints.CENTER,java.awt.GridBagConstraints.HORIZONTAL,new Insets(0,5,0,0),0,0));
panel5.add(slideShow1, new com.symantec.itools.awt.GridBagConstraintsD(1,0,1,1,1.0,1.0,java.awt.GridBagConstraints.EAST,java.awt.GridBagConstraints.NONE,new Insets(0,0,0,0),0,0));
panel5.add(slideShow2, new com.symantec.itools.awt.GridBagConstraintsD(2,0,1,1,1.0,1.0,java.awt.GridBagConstraints.WEST,java.awt.GridBagConstraints.NONE,new Insets(0,0,0,0),0,0));
slideShow2.setBounds(117,14,10,10);
buttonNext.setLabel("Next");
panel5.add(buttonNext, new com.symantec.itools.awt.GridBagConstraintsD(3,0,1,1,1.0,1.0,java.awt.GridBagConstraints.CENTER,java.awt.GridBagConstraints.HORIZONTAL,new Insets(0,0,0,5),0,0));
panel3.add(label5, new com.symantec.itools.awt.GridBagConstraintsD(0,8,1,1,1.0,1.0,java.awt.GridBagConstraints.CENTER,java.awt.GridBagConstraints.NONE,new Insets(0,0,0,0),0,0));
panel3.add(buttonInsert, new com.symantec.itools.awt.GridBagConstraintsD(0,9,1,1,1.0,1.0,java.awt.GridBagConstraints.CENTER,java.awt.GridBagConstraints.HORIZONTAL,new Insets(0,5,0,5),0,0));
panel4.add(panel11, new com.symantec.itools.awt.GridBagConstraintsD(0,0,1,1,1.0,1.0,java.awt.GridBagConstraints.CENTER,java.awt.GridBagConstraints.BOTH,new Insets(5,0,0,5),0,0));
panel11.setBackground(java.awt.Color.white);
panel11.setBounds(0,6,231,102);
panel7.setLayout(new GridBagLayout());
panel11.add(panel7, new com.symantec.itools.awt.GridBagConstraintsD(0,0,1,1,1.0,1.0,java.awt.GridBagConstraints.CENTER,java.awt.GridBagConstraints.BOTH,new Insets(0,5,0,5),0,0));
panel7.setBounds(5,0,221,102);
panel8.setLayout(new GridBagLayout());
panel7.add(panel8, new com.symantec.itools.awt.GridBagConstraintsD(0,0,1,2,1.0,1.0,java.awt.GridBagConstraints.CENTER,java.awt.GridBagConstraints.BOTH,new Insets(0,0,0,0),0,0));
panel8.setBounds(0,0,69,102);
label8.setText("tree color");
panel8.add(label8, new com.symantec.itools.awt.GridBagConstraintsD(0,0,1,1,1.0,1.0,java.awt.GridBagConstraints.WEST,java.awt.GridBagConstraints.HORIZONTAL,new Insets(0,0,0,0),0,0));
panel8.add(label9, new com.symantec.itools.awt.GridBagConstraintsD(0,1,1,1,1.0,1.0,java.awt.GridBagConstraints.WEST,java.awt.GridBagConstraints.HORIZONTAL,new Insets(0,0,0,0),0,0));
panel8.add(label7, new com.symantec.itools.awt.GridBagConstraintsD(0,2,1,1,1.0,1.0,java.awt.GridBagConstraints.WEST,java.awt.GridBagConstraints.HORIZONTAL,new Insets(0,0,0,0),0,0));
panel7.add(panel14, new com.symantec.itools.awt.GridBagConstraintsD(1,0,1,1,10.0,1.0,java.awt.GridBagConstraints.CENTER,java.awt.GridBagConstraints.BOTH,new Insets(0,0,0,0),0,0));
panel14.setBounds(69,0,151,102);
choiceTreeColor.addItem("black");
choiceTreeColor.addItem("blue");
choiceTreeColor.addItem("red");
choiceTreeColor.addItem("green");
choiceTreeColor.addItem("yellow");
choiceTreeColor.addItem("orange");
choiceTreeColor.addItem("purple");
try {
choiceTreeColor.select(0);
}
catch (IllegalArgumentException e) { }
panel14.add(choiceTreeColor, new com.symantec.itools.awt.GridBagConstraintsD(0,0,1,1,1.0,1.0,java.awt.GridBagConstraints.CENTER,java.awt.GridBagConstraints.HORIZONTAL,new Insets(0,0,0,0),0,0));
panel14.add(textFieldStatus, new com.symantec.itools.awt.GridBagConstraintsD(0,1,1,1,1.0,1.0,java.awt.GridBagConstraints.CENTER,java.awt.GridBagConstraints.HORIZONTAL,new Insets(0,0,0,0),0,0));
panel14.add(textFieldCount, new com.symantec.itools.awt.GridBagConstraintsD(0,2,1,1,1.0,1.0,java.awt.GridBagConstraints.CENTER,java.awt.GridBagConstraints.HORIZONTAL,new Insets(0,0,0,0),0,0));
panel4.add(panel15, new com.symantec.itools.awt.GridBagConstraintsD(0,1,1,1,1.0,1.0,java.awt.GridBagConstraints.CENTER,java.awt.GridBagConstraints.BOTH,new Insets(5,0,5,5),0,0));
panel15.setBackground(java.awt.Color.white);
panel15.setBounds(0,113,231,64);
buttonNew.setLabel("Create New Tree");
panel15.add(buttonNew, new com.symantec.itools.awt.GridBagConstraintsD(0,0,1,1,1.0,1.0,java.awt.GridBagConstraints.CENTER,java.awt.GridBagConstraints.HORIZONTAL,new Insets(5,5,5,5),0,0));
panel4.add(panel13, new com.symantec.itools.awt.GridBagConstraintsD(0,2,1,1,1.0,1.0,java.awt.GridBagConstraints.CENTER,java.awt.GridBagConstraints.BOTH,new Insets(0,0,0,5),0,0));
panel13.setBackground(java.awt.Color.white);
panel13.setBounds(0,182,231,123);
label6.setText(" Delete the first node encountered");
panel13.add(label6, new com.symantec.itools.awt.GridBagConstraintsD(0,0,1,1,1.0,1.0,java.awt.GridBagConstraints.CENTER,java.awt.GridBagConstraints.NONE,new Insets(0,0,0,0),0,0));
panel13.add(label10, new com.symantec.itools.awt.GridBagConstraintsD(0,1,1,1,1.0,1.0,java.awt.GridBagConstraints.CENTER,java.awt.GridBagConstraints.NONE,new Insets(0,0,0,0),0,0));
panel13.add(textFieldDelete, new com.symantec.itools.awt.GridBagConstraintsD(0,2,1,1,1.0,1.0,java.awt.GridBagConstraints.CENTER,java.awt.GridBagConstraints.HORIZONTAL,new Insets(0,5,0,5),0,0));
panel13.add(buttonDelete, new com.symantec.itools.awt.GridBagConstraintsD(0,3,1,1,1.0,1.0,java.awt.GridBagConstraints.CENTER,java.awt.GridBagConstraints.HORIZONTAL,new Insets(0,5,0,5),0,0));
panel4.add(panel12, new com.symantec.itools.awt.GridBagConstraintsD(0,3,1,1,1.0,1.0,java.awt.GridBagConstraints.CENTER,java.awt.GridBagConstraints.BOTH,new Insets(5,0,5,5),0,0));
panel12.add(buttonDeleteSelected, new com.symantec.itools.awt.GridBagConstraintsD(0,0,1,1,1.0,1.0,java.awt.GridBagConstraints.CENTER,java.awt.GridBagConstraints.HORIZONTAL,new Insets(0,5,0,5),0,0));